package com.lzd.pojo.response;

public enum  CommonCode {
    CONNECTION_REFUSE(10001,"数据连接被拒绝"),
    NOT_LOGIN(10002,"当前用户为登陆"),
    NOT_TOKEN(10003,"token不正确"),
    NO_TOKEN(10004,"token为空"),
    NAME_ERROR(10005,"账号错误"),
    PWD_ERROR(10006,"密码错误");


    private Integer code;
    private String message;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    CommonCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
